#!/usr/bin/env bash

# 工作报告：类型（日报、周报、月报）
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/initNewAll -X POST -H 'Content-type: application/json' -d '{"corpid":"dingf6576c4f7359fd1f","userId":"manager7218","corpidList":[],"platform":"web","attr":"text_1","frontDev":"1","xbbCode":"123456","businessType":2102,"operate":1,"initMethod":"type","initMethodField":"items"}'

curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/initNewAll -X POST -H 'Content-type: application/json' -d '{"corpid":"dingf6576c4f7359fd1f","userId":"manager7218","corpidList":[],"platform":"web","attr":"text_1","frontDev":"1","xbbCode":"123456","businessType":2103,"operate":1,"initMethod":"type","initMethodField":"items"}'

curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/initNewAll -X POST -H 'Content-type: application/json' -d '{"corpid":"dingf6576c4f7359fd1f","userId":"manager7218","corpidList":[],"platform":"web","attr":"text_1","frontDev":"1","xbbCode":"123456","businessType":2104,"operate":1,"initMethod":"type","initMethodField":"items"}'

# 工作报告：批阅人（日报、周报、月报）
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/initNewAll -X POST -H 'Content-type: application/json' -d '{"corpid":"dingf6576c4f7359fd1f","userId":"manager7218","corpidList":[],"platform":"web","attr":"array_3","frontDev":"1","xbbCode":"123456","businessType":2102,"operate":1,"fieldAttr":"fieldType"}'

curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/initNewAll -X POST -H 'Content-type: application/json' -d '{"corpid":"dingf6576c4f7359fd1f","userId":"manager7218","corpidList":[],"platform":"web","attr":"array_3","frontDev":"1","xbbCode":"123456","businessType":2103,"operate":1,"fieldAttr":"fieldType"}'

curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/initNewAll -X POST -H 'Content-type: application/json' -d '{"corpid":"dingf6576c4f7359fd1f","userId":"manager7218","corpidList":[],"platform":"web","attr":"array_3","frontDev":"1","xbbCode":"123456","businessType":2104,"operate":1,"fieldAttr":"fieldType"}'

# 修复合同已收未收金额字段
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/fixData/fixContractFinishAmout -X POST -H 'Content-type: application/json' -d '{"corpid":"ding7a3bd6710d106ac035c2f4657eb6378f","userId":"1","platform":"web","frontDev":"1","xbbCode":"123456","dataId":514936}'


# 开通短信公司初始化收件箱菜单
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/sms/initReplySms -X POST -H 'Content-type: application/json' -d '{"corpid":"1","userId":"1","platform":"web","frontDev":"1","corpidList":[""],"xbbCode":123456}'


# 拉取通知回复短信 -- 定时脚本
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/sms/cronTabPullSmsReply?key=gYYt9diVPkQrdgeNMkUk&sendApi=3

# 拉取营销回复短信 -- 定时脚本
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/sms/cronTabPullSmsReply?key=gYYt9diVPkQrdgeNMkUk&sendApi=4

